import { createRouter, createWebHashHistory } from 'vue-router'
// import HomeView from '../views/HomeView.vue'
import studys from '@/views/studys.vue'
import danci from '@/views/danci.vue'
import tonggou from '@/views/tonggou.vue'
import allbei from '@/views/allbei.vue'
import my from '@/views/my.vue'
import Course from '@/views/Course.vue'
const routes = [
  //{
    //path: '/',
   //name: 'home',
   //component: HomeView
  //},
  {
    path: '/danci',
    name: 'danci',
    component: danci
  },
  {
    path: '/studys',
    name: 'studys',
    component: studys
  },
    {
    path: '/allbei',
    name: 'allbei',
    component: allbei
  },
    {
    path: '/tonggou',
    name: 'tonggou',
    component: tonggou
  },
    {
    path: '/my',
    name: 'my',
    component: my
  },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
